package com.lx.preferred.mall.authcenter.feign;

import com.lx.mall.common.api.CommonResult;
import com.lx.preferred.mall.authcenter.model.UmsMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "preferredmall-member",path="/member/center")
public interface UmsMemberFeignService {

    @RequestMapping("/loadUmsMember")
    CommonResult<UmsMember> loadUserByUsername(@RequestParam("username") String username);
}
